Transformation involves changing one structure to another, as when a document produced on a word processor is transformed into HTML. Transformation of a document from one governing DTD to another DTD can involve significant changes in structure.
Conversion of a document to Web format (Webification) can involve one or more processes:
Transformation requires a mapping strategy based on document analysis. Such an analysis requires a formal description of each document structure. For HTML, this is best served by a DTD.
The transformation process mapping one element to another (one-to-one), many document elements onto one (many-to-one), or one element or structure to many others (one-to-many). Some elements may not fit the new structure, and have to be omitted, with a concomitant loss of data, as when transforming a HTML 3.0 document into HTML 2.0.